﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace TestAppConfigDataProxy
{
    /// <summary>
    ///  helpfull function for IAppConfigDBProxyTest class
    /// </summary>
    static class HelperForTesting
    {
        public static XmlDocument GetXmlDocument(this string xmlString)
        {
            XmlDocument result = new XmlDocument();
            result.LoadXml(xmlString);
            return result;
        }
        public static bool IsEqual(this XmlNode node1, XmlNode node2 )
        {
            bool result;
            result = (node1.OuterXml == node2.OuterXml);
            return result;
        }
    }
}
